//
//  NSObject+Keyboard.h
//  LinTool
//
//  Created by 林宁宁 on 15/11/12.
//  Copyright © 2015年 000. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSObject (Keyboard)

/**
 *  事件回调
 */
//@property (copy, nonatomic) void(^keyBoardAnimationBlock)(CGRect keyboardRect, NSTimeInterval duration, BOOL isShowing);
//@property (retain, nonatomic) NSArray * NEDKeyboardTargetViews;

- (void)registerKeyBoardNotifitionWithBlock:(void(^)(CGRect keyboardRect, NSTimeInterval duration, BOOL isShowing))keyBoardAnimationBlock;


- (void)ned_keyboardShowAtAnimationView:(UIView *)animationV;
- (void)ned_keyboardShowAtAnimationView:(UIView *)animationV
                           targetViews:(NSArray <UIView *>*)targetViews;
/// 键盘弹出 视图动画
/// @param animationV 要操作动画的视图
/// @param targetViews  焦点视图 可以为空
/// @param completion  动画完成
- (void)ned_keyboardShowAtAnimationView:(UIView *)animationV
                           targetViews:(NSArray <UIView *>*)targetViews
                            completion:(void(^)(void))completion;


@end
